﻿<Window x:Class="Projecturo.ProjecturoClient.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Icon="../Resources/Images/ProjecturoIcon.ico"
    Title="Projecturo - Professional Management of Issues, Features, Tasks and Projects" WindowState="Maximized">
    
    <DockPanel LastChildFill="True">
        <Menu DockPanel.Dock="Top">
            <MenuItem Header="File">
                <MenuItem Header="Show Dashboard" Command="{Binding ShowDashboardCommand}"/>
                <Separator/>
                <MenuItem Header="Exit" Command="{Binding CloseCommand}"/>
            </MenuItem>
            <MenuItem Header="Extras">
                <MenuItem Header="Options"/>
            </MenuItem> 
        </Menu>

        <Border
        Grid.Column="2" 
        Style="{StaticResource MainBorderStyle}"
        >
            <HeaderedContentControl 
              Content="{Binding Path=Workspaces}"
              ContentTemplate="{StaticResource WorkspacesTemplate}"
              Header="Professional Management of Issues, Features, Tasks and Projects"
              Style="{StaticResource MainHCCStyle}" HeaderTemplate="{DynamicResource HeaderTemplate_TopHeader}"
          />
        </Border>

    </DockPanel>
</Window>
